package cate.game.activity.newhero.msg;

import cate.game.activity.newhero.data.HCResultItem;
import cate.game.client.msg.ClientMsg;
import cate.game.client.msg.MsgConfig;
import cate.game.client.msg.MsgOutput;
import cate.game.client.msg.id.MsgIdBNewHero;
import cate.game.res.MixRes;
import cate.game.role.bag.hero.Hero;
import easy.java.dev.note.NoteField;
import lombok.NoArgsConstructor;
import lombok.Setter;

import java.util.ArrayList;
import java.util.List;

@NoArgsConstructor
@ClientMsg(title = "新英雄上新召唤 の 返回")
public class HCUpCallResp implements MsgOutput {
    @NoteField(value = "英雄召唤结果")
    public List<HCResultItem> result = new ArrayList<>();

    @NoteField(value = "额外奖励")
    public MixRes reward = new MixRes();

    @Setter
    @NoteField(value = "放逐英雄")
    public List<Hero> sacrifices;

    public HCUpCallResp(List<HCResultItem> result, MixRes reward, List<Hero> sacrifices) {
        this.result = result;
        this.reward = reward;
        this.sacrifices = sacrifices;
    }

    @Override
    public MsgConfig conf() {
        return MsgIdBNewHero.CALL_RESP;
    }
}
